package issuetracker;

import org.apache.wicket.Page;
import org.apache.wicket.protocol.http.WebApplication;

/**
 * Application object for your web application. If you want to run this 
 * application without deploying, run the Start class.
 * 
 * @see issuetracker.Start#main(String[])
 */
public class WicketApplication extends WebApplication
{    
    /**
     * Constructor
     */
	public WicketApplication() {
		mountBookmarkablePage("/about", About.class);
		mountBookmarkablePage("/newIssue", NewIssue.class);
		mountBookmarkablePage("/changePassword", ChangePassword.class);
		mountBookmarkablePage("/contact", Contact.class);
		mountBookmarkablePage("/createAccount", CreateAccount.class);
		mountBookmarkablePage("/editIssue", EditIssue.class);
		mountBookmarkablePage("/login", Login.class);
		mountBookmarkablePage("/error", Error.class);
		mountBookmarkablePage("/privacy", Privacy.class);
		mountBookmarkablePage("/viewIssue", ViewIssue.class);
		mountBookmarkablePage("/viewIssues", ViewIssues.class);
	}

	/**
	 * @see org.apache.wicket.Application#getAbout()
	 */
	public Class<About> getAbout() {
		return About.class;
	}

	/**
	 * @see org.apache.wicket.Application#getNewIssue()
	 */
	public Class<NewIssue> getNewIssue() {
		return NewIssue.class;
	}

	/**
	 * @see org.apache.wicket.Application#getChangePassword()
	 */
	public Class<ChangePassword> getChangePassword() {
		return ChangePassword.class;
	}

	/**
	 * @see org.apache.wicket.Application#getContact()
	 */
	public Class<Contact> getContact() {
		return Contact.class;
	}

	/**
	 * @see org.apache.wicket.Application#getCreateAccount()
	 */
	public Class<CreateAccount> getCreateAccount() {
		return CreateAccount.class;
	}

	/**
	 * @see org.apache.wicket.Application#getEditIssue()
	 */
	public Class<EditIssue> getEditIssue() {
		return EditIssue.class;
	}

	/**
	 * @see org.apache.wicket.Application#getLogin()
	 */
	public Class<Login> getLogin() {
		return Login.class;
	}

	/**
	 * @see org.apache.wicket.Application#getError()
	 */
	public Class<Error> getError() {
		return Error.class;
	}

	/**
	 * @see org.apache.wicket.Application#getPrivacy()
	 */
	public Class<Privacy> getPrivacy() {
		return Privacy.class;
	}

	/**
	 * @see org.apache.wicket.Application#getViewIssue()
	 */
	public Class<ViewIssue> getViewIssue() {
		return ViewIssue.class;
	}

	/**
	 * @see org.apache.wicket.Application#getViewIssues()
	 */
	public Class<ViewIssues> getViewIssues() {
		return ViewIssues.class;
	}

	@Override
	public Class<? extends Page> getHomePage() {
		return Login.class;
	}
}// clickframes::version=2045844423::clickframes